package com.ruoyi.orders.service;

import java.util.List;
import com.ruoyi.orders.domain.SmartPurchaseRecord;

/**
 * 产品订单Service接口
 * 
 * @author ruoyi
 * @date 2025-04-01
 */
public interface ISmartPurchaseRecordService 
{
    /**
     * 查询产品订单
     * 
     * @param scRecordId 产品订单主键
     * @return 产品订单
     */
    public SmartPurchaseRecord selectSmartPurchaseRecordByScRecordId(Long scRecordId);

    /**
     * 查询产品订单列表
     * 
     * @param smartPurchaseRecord 产品订单
     * @return 产品订单集合
     */
    public List<SmartPurchaseRecord> selectSmartPurchaseRecordList(SmartPurchaseRecord smartPurchaseRecord);

    /**
     * 新增产品订单
     * 
     * @param smartPurchaseRecord 产品订单
     * @return 结果
     */
    public int insertSmartPurchaseRecord(SmartPurchaseRecord smartPurchaseRecord);

    /**
     * 修改产品订单
     * 
     * @param smartPurchaseRecord 产品订单
     * @return 结果
     */
    public int updateSmartPurchaseRecord(SmartPurchaseRecord smartPurchaseRecord);

    /**
     * 批量删除产品订单
     * 
     * @param scRecordIds 需要删除的产品订单主键集合
     * @return 结果
     */
    public int deleteSmartPurchaseRecordByScRecordIds(Long[] scRecordIds);

    /**
     * 删除产品订单信息
     * 
     * @param scRecordId 产品订单主键
     * @return 结果
     */
    public int deleteSmartPurchaseRecordByScRecordId(Long scRecordId);
}
